<?php
class PublicationFactory{
	function create($pType, $pId){
		switch ($pType){
			case "EVENT" :
				return new Event($pId);
				break;
		}
	}
}